.task-queue {
  .task-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;

    .task-badges {
      display: flex;
      gap: 4px;
    }
  }

  .task-description {
    .task-meta {
      margin-top: 8px;
      font-size: 12px;
      color: #999;

      span {
        margin-right: 16px;
      }
    }
  }

  .task-item {
    transition: all 0.2s;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;

    &:hover {
      background: #fafafa;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    &.overdue {
      border-left: 4px solid #ff4d4f;
      background: #fff2f0;
    }

    &.urgent {
      border-left: 4px solid #fa8c16;
      background: #fff7e6;
    }
  }

  .upcoming-tasks {
    .ant-list-item {
      padding: 8px 12px;
      border-radius: 6px;

      &:hover {
        background: #f5f5f5;
      }
    }
  }

  .progress-indicator {
    margin-top: 12px;

    .progress-text {
      margin-bottom: 4px;
      font-size: 12px;
      color: #666;
    }
  }

  // 统计卡片样式
  .ant-statistic {
    .ant-statistic-title {
      font-weight: 500;
      margin-bottom: 8px;
    }

    .ant-statistic-content {
      font-weight: 600;
    }
  }

  // 任务状态指示器
  .status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;

    &.pending {
      background: #fff7e6;
      color: #fa8c16;
    }

    &.processing {
      background: #e6f7ff;
      color: #1890ff;
    }

    &.completed {
      background: #f6ffed;
      color: #52c41a;
    }

    &.expired {
      background: #fff2f0;
      color: #ff4d4f;
    }
  }

  // 优先级指示器
  .priority-indicator {
    &.low {
      color: #52c41a;
    }

    &.medium {
      color: #1890ff;
    }

    &.high {
      color: #fa8c16;
    }

    &.urgent {
      color: #ff4d4f;
      font-weight: 600;
    }
  }

  // 响应式设计
  @media (max-width: 768px) {
    .task-title {
      flex-direction: column;
      align-items: flex-start;
      gap: 8px;
    }

    .task-meta {
      span {
        display: block;
        margin-bottom: 4px;
        margin-right: 0 !important;
      }
    }

    .ant-col {
      margin-bottom: 16px;
    }
  }

  // 动画效果
  .task-enter {
    opacity: 0;
    transform: translateY(-10px);
  }

  .task-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
  }

  .task-exit {
    opacity: 1;
    transform: translateY(0);
  }

  .task-exit-active {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }
}
